﻿using AiMoBridge.Interface;
using System.Drawing;

namespace AiMoWindows.Entrance.Connect
{
    class AppBridgeInfo : IBridgeInfo
    {
        public string CurrentRhinoVersion { get; }
        public string[] RhinoAssemblyLocations { get; }

        PipeClient CurrentPipe { get; }
        public Bitmap? GetScreenShot(Size size)
        {
            return CurrentPipe?.GetScreenShot(size);
        }
        public AppBridgeInfo(PipeClient pipe, string currentRhinoVersion, string[] rhinoAssemblyLocations)
        {
            CurrentPipe = pipe;
            CurrentRhinoVersion = currentRhinoVersion;
            RhinoAssemblyLocations = rhinoAssemblyLocations;
        }
    }
}
